#include "stdafx.h"
#include "PropertyManager.hpp"
#include "Simulation.hpp"

//////////////////////////////////////////////////////////////////////////

PropertyManager::PropertyManager()
{

}

//////////////////////////////////////////////////////////////////////////

PropertyManager::~PropertyManager()
{
	//TwDeleteAllBars();
	//delete _twEventHandler;
	//delete _propEventHandler;
}

//////////////////////////////////////////////////////////////////////////

void PropertyManager::load(std::istream& stream)
{
	//if (!stream) return;

	//TwBar* tweakBar = _tweakBar;
	//TwEventHandler* twEventHandler = _twEventHandler;
	//PropertyEventHandler* propHandler = _propEventHandler;

	//stream.read(reinterpret_cast<char*>(this), sizeof(PropertyManager));

	//_tweakBar = tweakBar;
	//_twEventHandler = twEventHandler;
	//_propEventHandler = propHandler;

	//TwRefreshBar(_tweakBar);
}

//////////////////////////////////////////////////////////////////////////

void PropertyManager::save(std::ostream& stream) const
{
	//if (!stream) return;
	//stream.write(reinterpret_cast<const char*>(this), sizeof(PropertyManager));
}

//////////////////////////////////////////////////////////////////////////